home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-serious-
/
comms
/
www
/
awebresume
/
awebresume.cfg
< prev
next >
Wrap
Text File
|
1999-09-06
|
17KB
|
358 lines
*******************************************************************
* *
* DO NOT EDIT THIS SECTION! *
* *
* $VER: AWebResume.cfg 1.00 (26.8.99) © 1999 Duane McDonnell *
* *
* For technical support e-mail tachyon@tolstoi.saccii.net.au *
* *
*******************************************************************
* *
* If you modify this file, be sure to save it back to *
* "ENVARC:AWeb3/AWebResume.cfg". If AWebResume is running in the *
* background the new configuration settings will take effect soon *
* after saving the file as AWebResume sets up a file notification *
* on the specified path. If the filesystem does not support file *
* notifications run AWebResume again to update its configuration *
* buffer or reboot the system. *
* *
* Some general notes on specifying configuration settings: *
* *
* Boolean switches (those marked BOOL) accept either 0 or 1 as *
* their parameters. 0 means false while 1 means true. *
* *
* Strings (those marked STRING) can either be quoted or unquoted. *
* You should quote strings if they contain spaces. For example, *
* "this string is quoted". *
* *
*******************************************************************
************************************
* *
* Download resume related settings *
* *
************************************
; (BOOL). Set ResumeEnable to 1 to enable download resumes. With this
; option set AWebResume will override AWeb's normal "incomplete file"
; requesters with ones offering more options and will prevent AWeb
; from deleting interrupted downloads unless permission is given.
; AWebResume is capable of detecting all interrupted downloads even
; if AWeb doesn't normally generate requesters for them.
;
; Do not download to AWeb's temporary or cache paths if you want
; AWebResume to offer resume support for interrupted downloads. These
; paths (and their sub-directories) are ignored by AWebResume to prevent
; excessive and unnecessary interrupted download detections (unless AWeb
; would normally generate requesters for them). You should therefore set
; your "Save" path to a directory outside the scope of both the temporary
; and cache paths.
ResumeEnable 1
; (BOOL). Set AutoResume to 1 if you want AWebResume to automatically
; resume interrupted downloads initiated via AWeb's LOAD ARexx command
; if a download path was given. AutoResume is useful for preventing
; interrupted download requesters appearing when ARexx is controlling
; an unattended download session. This setting is ignored if a user
; requested download fails (a user request is regarded as a request
; which did not come via ARexx).
AutoResume 0
; (STRING). AcceptFilter and RejectFilter are used to filter files which
; you normally wouldn't download to a file and therefore wouldn't resume.
; Filtering files helps to decrease memory usage.
;
; The pattern matching filters work in two stages. Firstly, URLs which
; match AcceptFilter are added to a list of potential URLs which might
; require resuming, then this list is further pruned by applying
; RejectFilter. Note that the filters are used to filter the 'object'
; part of a URL (the final part specifying a filename). Both filters
; are case-insensitive and should be specified in standard AmigaDOS
; format. To perform no filtering at all, set AcceptFilter to "#?"
; and RejectFilter to "~(#?)".
;
; The filters are ignored if AWeb would normally generate an "incomplete
; file" requester for an interrupted download. In this case, AWebResume
; will allow the requester (or more precisely, it's override requester)
; to ensure consistency with AWeb's normal operating behaviour.
AcceptFilter #?
RejectFilter #?.(htm|html)
; (STRING). Here you should specify a command template for calling a
; HTTP resumption program. The command template is similar to the normal
; arguments you would issue when invoking the program from the shell
; except you specify tokens which AWebResume expands prior to calling
; the program. You will need to refer to the HTTP resumption program's
; documentation in order to fill in this template.
;
; AWebResume supports the following basic tokens:
;
; %u URL of file whose download was interrupted
; %f Full file path of interrupted download file
; %p HTTP proxy used to download initial part of file (¹)
; %r URL which referred us to the URL being downloaded (²)
; %b Browser user-agent/spoofing identification string
;
; Notes:
;
; ¹ It is recommended that you embed the proxy token in the conditional
; proxy argument specifier (ResumeCondProxy) and use the %cp token
; rather than %p in ResumeTemplate. This way, proxy information will
; only form part of the final expanded template if a proxy was used
; to collect the initial part of the file being resumed.
;
; ² It is recommended that you embed the referer token in the conditional
; referer argument specifier (ResumeCondRefer) and use the %cr token
; rather than %r in ResumeTemplate. This way, referer information will
; not form part of the final expanded template if you have enabled
; AWeb's "browse anonymously" configuration option or if you manually
; entered the URL or followed a local link to get to it (in which
; case there is no referer).
;
; In addition to the basic tokens, AWebResume allows you to use conditional
; argument tokens in the template. Conditional argument tokens will only be
; included in the final template expansion if certain conditions are met.
;
; The following conditional argument tokens are supported:
;
; %cp Conditional proxy argument token. If a proxy was used to download
; the initial part of the file being resumed then this token, if
; specified in ResumeTemplate, will be expanded to ResumeCondProxy
; (which itself will be expanded before use). If no proxy was used
; this token will be ignored.
;
; %cr Conditional referer argument token. If AWeb was browsing with
; referer information enabled then this token, if specified in
; ResumeTemplate, will be expanded to ResumeCondRefer (which itself
; will be expanded before use). If no referer information was in
; use, either because you configured AWeb to browse anonymously
; or because you entered the URL manually rather than following
; a link to get to it, this token will be ignored.
;
; %ci Conditional icon argument token. If AWeb was configured to
; create icons with download files then this token, if specified
; in ResumeTemplate, will be expanded to ResumeCondIcon.
;
; %cn Conditional no icon argument token. If AWeb was configured to
; not create icons with download files then this token, if specified
; in ResumeTemplate, will be expanded to ResumeCondNoIcon.
;============================================================================
; The following options are for use with HTTPResume by Andriya Antonijevic.
; Note that HTTPResume's configuration file may override some of these
; settings. If you wish to use HTTPResume in conjunction with AWebResume,
; uncomment the template which best suits your requirements or write your
; own custom template and conditional specifiers. Turning on the debugging
; option is helpful if you're creating your own template or specifiers
; as the debugging output will show you the final expansion for the call
; to the HTTP resume program after all tokens have been processed. An easy
; way to invoke the resume program is to start downloading a file then
; cancel it from AWeb's network status window. AWebResume should detect
; the interrupted download and display a requester; now select 'Resume'
; and the resume program should be invoked using the supplied template.
; Note that AWebResume usually ignores download requests for files which
; are filtered out by AcceptFilter/RejectFilter, or for files which are
; within scope of AWeb's cache or temporary paths.
; This version opens HTTPResume's GUI on AWeb's public screen or on the
; default public screen if AWeb's public screen is unavailable.
;
ResumeTemplate "HTTPResume URL="%u" OUTFILE="%f" %cp %cr %ci GUI PUBSCREEN=AWeb AUTORESUME AUTOSTART AUTOEXIT"
; This version opens HTTPResume's GUI on the default public screen.
;
;ResumeTemplate "HTTPResume URL="%u" OUTFILE="%f" %cp %cr %ci GUI AUTORESUME AUTOSTART AUTOEXIT"
; This version outputs to a console window on AWeb's public screen or on
; the default public screen if AWeb's public screen is unavailable.
;
;ResumeTemplate "HTTPResume URL="%u" OUTFILE="%f" %cp %cr %ci AUTORESUME > "CON:////Resuming download.../AUTO/CLOSE/WAIT/INACTIVE/SCREEN AWeb""
; This version outputs to a console window on the default public screen.
;
;ResumeTemplate "HTTPResume URL="%u" OUTFILE="%f" %cp %cr %ci AUTORESUME > "CON:////Resuming download.../AUTO/CLOSE/WAIT/INACTIVE""
; (STRING). Conditional HTTP proxy argument specifier. This will be
; expanded if the %cp token is encountered in ResumeTemplate, but only
; if a proxy was used to download the initial part of the file being
; resumed. You may only use the %p token in this specifier, all other
; tokens will be ignored.
ResumeCondProxy PROXY=%p
; (STRING). Conditional referer argument specifier. This will be
; expanded if the %cr token is encountered in ResumeTemplate, but only
; if AWeb's "browse anonymously" configuration option is disabled and
; the URL had a referer (you followed a non-local link to get to it).
; You may only use the %r token in this specifier, all other tokens
; will be ignored.
ResumeCondRefer REFERER="%r"
; (STRING). Conditional icon argument specifier. This will be expanded
; if the %ci token is encountered in ResumeTemplate, but only if AWeb
; was configured to create icons for download files. No basic tokens
; are supported for this specifier, any which are encountered will be
; ignored.
ResumeCondIcon CREATEICONS
; (STRING). Conditional no icon argument specifier. This will be expanded
; if the %cn token is encountered in ResumeTemplate, but only if AWeb was
; configured to not create icons for download files. No basic tokens are
; supported for this specifier, any which are encountered will be ignored.
; Not used with HTTPResume.
;
;ResumeCondNoIcon
;============================================================================
*************************************
* *
* Download by mail related settings *
* *
*************************************
; (BOOL). Set MailEnable to 1 if you want AWebResume to give you the
; option of obtaining an interrupted download via your e-mail account.
; This is useful for stubborn files which AWeb and/or the resume program
; can't seem to download in full. If this option is set a 'Mail' gadget
; will appear in AWebResume's interrupted download requester. The
; download request will be sent to downloadslave.com for processing.
; This service requires that you obtain a password before submitting
; download requests. Refer to the MailPassword discussion for further
; information.
;
; ResumeEnable must also be set for this option to have any effect.
MailEnable 0
; (STRING). This string should be set to the password issued to you by
; downloadslave.com. The password is assigned to the address you send
; the request from so be sure to sign up with the account you want
; download requests sent to. Mail data@downloadslave.com with the
; subject set to "REQUEST PASSWORD" (no quotes) and enter the password
; you receive back below. If you lose your password send mail to the
; same address with the subject set to "REMEMBER PASSWORD".
MailPassword your_password
; (STRING). Set MailAccount to the e-mail account where you want
; download requests sent to (the password specified in MailPassword must
; be assigned to this account). This address takes precedence over the
; Reply-To: address set in AWeb. If you do not specify this setting then
; AWeb's Reply-To: address from the network settings will be used.
MailAccount user@domain.com
; (STRING). Here you should specify the template for calling an external
; mail program to send the download request to downloadslave.com.
;
; The template supports the following tokens:
;
; %t To: address (this is always data@downloadslave.com)
; %r Reply-To: address (where the file will be sent to)
; %s Subject line with URL to download
; %m Message body containing the required password
; %f File containing a copy of the message body
;
; If you do not specifiy a template the mail program configured in AWeb's
; network settings will be used. AWebResume will invoke this mail program
; by asking you to submit a mailto: form. It is recommended that you
; configure MailTemplate since there is no standard way to submit a
; message body using mailto: (however, AWeb's integrated mail program
; will recognise the message body submitted by AWebResume).
; Example template for use with YAM 2.0 by Marcel Beck (note that this
; only works if YAM is not already running, an ARexx script would be
; needed for the general case).
;MailTemplate "YAM MAILTO=%t SUBJECT="%s" LETTER="%f""
; (BOOL). When invoking the download via e-mail option using a mailto:
; form (when MailTemplate is not configured) AWebResume will create a
; temporary HTML file to load into AWeb using the "file:localhost/"
; scheme. AWeb does not disk cache local files but only memory caches
; them since it quite reasonably assumes that local files are always
; available for accessing.
;
; Setting AutoFlush tells AWebResume to generate a temporary HTML file
; when required, load it into AWeb, then delete it. While this procedure
; is desirable for keeping memory overheads to a minimum it can cause
; problems if documents are flushed from AWeb's memory cache before
; you've finished with them. In this case, AWeb won't be able to reload
; AWebResume's temporary HTML files because they will no longer exist.
;
; Clearing AutoFlush prevents AWebResume from deleting temporary HTML
; files until an AWeb shutdown is detected.
AutoFlush 0
**************************
* *
* Miscellaneous settings *
* *
**************************
; (BOOL). Set ShareEnable to 1 if you want AWebResume to open AWeb's
; download files in shared read/write mode. This will allow you to read
; files while they are still being downloaded. Take care when doing this
; however as some programs will crash when given truncated files. You
; should test the program first to give yourself confidence it implements
; decent error/truncation detection. LhA is very robust in this respect,
; you can often view the contents of an archive and extract documentation
; to read before the download has completed.
ShareEnable 1
******************************
* *
* Debugging related settings *
* *
******************************
; (BOOL). Set DebugEnable to 1 to enable AWebResume's debugging mode.
; If you enable this option you must also specify a valid debugging
; output channel using DebugOutput. The debugging output is helpful
; if you're writing your own templates as the expanded template will
; be sent to the debugging channel when an external program is called.
DebugEnable 0
; (STRING). If DebugEnable was set to 1 then this option specifies the
; output channel to send the debugging information to. This should be
; given as a standard AmigaDOS file specification. If the output is to
; a file which already exists then the output will be appended to the
; existing file otherwise a new file will be created. If the output is
; to a window then the following control characters are also available
; for debugging purposes:
;
; ^C Update settings from AWebResume's configuration file
; ^D Update settings from AWeb's network configuration file
; ^E Update settings from AWeb's program configuration file
; ^F Flush URL/filename hash entries currently not in use
DebugOutput "CON:////AWebResume Debugging Window/AUTO/CLOSE/INACTIVE"